(function(window) {
   const OO_URL = "chrome://toolkit/content/object-observer-0.1.html";
   const MP_URL = "chrome://toolkit/content/memory-profiler-0.2.html";

   window.tools = {
     openObserver: function openObserver() {
       var tab = window.gBrowser.addTab(OO_URL);
       window.gBrowser.selectedTab = tab;
     },
     openProfiler: function openProfiler() {
       var tab = window.gBrowser.addTab(MP_URL);
       window.gBrowser.selectedTab = tab;
     }
   };
 })(window);
